package org.vectrics.hibernate;

import org.springframework.beans.factory.BeanFactory;

public class ApplicationContext {
	private BeanFactory beanFactory = null;
	private String name = null;

	public ApplicationContext(String name, BeanFactory beanFactory) {
		this.beanFactory = beanFactory;
		this.name = name;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BeanFactory getBeanFactory() {
		return beanFactory;
	}

	public void setBeanFactory(BeanFactory beanFactory) {
		this.beanFactory = beanFactory;
	}
	
	public String toString() {
		return(this.getName());
	}
	
}
